package com.scsj.supermarket.view.activity.cooperationmodel;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.scsj.supermarket.R;
import com.scsj.supermarket.utils.SkipUtils;
import com.scsj.supermarket.view.activity.baseactivitymodel.BaseActivity;

/**
 * 圈主加盟
 */
public class BusinessOwnersJoinActivity extends BaseActivity implements View.OnClickListener {

    private ImageView mBusinessBanner;
    private LinearLayout mApplicationProcessLl;
    private LinearLayout mJionRequiredLl;
    private LinearLayout mChargesDescriptionLl;
    private LinearLayout mCommonQuestionsLl;
    private LinearLayout mJoinNow;


    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_business_owners_join);
        //  ScreenAdapterTools.getInstance().loadView((ViewGroup)getWindow().getDecorView());
        //ScreenAdapterTools.getInstance().reset(this);//如果希望android7.0分屏也适配的话,加上这句
        initToolbar();
        setToolbarTitle("圈主加盟");
        hasBack(true);
        initView();
    }

    @Override
    protected void initView() {
        mBusinessBanner = (ImageView) findViewById(R.id.business_banner);
        mApplicationProcessLl = (LinearLayout) findViewById(R.id.application_process_ll);
        mApplicationProcessLl.setOnClickListener(this);
        mJionRequiredLl = (LinearLayout) findViewById(R.id.jion_required_ll);
        mJionRequiredLl.setOnClickListener(this);
        mChargesDescriptionLl = (LinearLayout) findViewById(R.id.charges_description_ll);
        mChargesDescriptionLl.setOnClickListener(this);
        mCommonQuestionsLl = (LinearLayout) findViewById(R.id.common_questions_ll);
        mCommonQuestionsLl.setOnClickListener(this);
        mJoinNow = (LinearLayout) findViewById(R.id.join_now);
        mJoinNow.setOnClickListener(this);
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.application_process_ll:
                break;
            case R.id.jion_required_ll:
                break;
            case R.id.charges_description_ll:
                break;
            case R.id.common_questions_ll:
                break;
            case R.id.join_now:
                SkipUtils.toBusinessCircleMasterRegister(this);
                break;
        }
    }
}
